$color1:#959595 #666 #eb6100 #8bb521 #333;
$color2: #ddd #f2f2f2 #dbdbdb #fff;
$fl:left;
$fr:right;
$rel:relative;
@mixin wrap($w) {
    width: $w;
    margin: 0 auto;
    clear: both;
}


/* 个人中心头部 */

$head-l:(_head 40px)((_head span) 40px);
@each $a,
$b in $head-l {
    .uH#{$a} {
        color: nth($color1, 1);
        height: $b;
        line-height: $b;
    }
}

.uH_head {
    @include wrap(1200px)
}

.uH_head span {
    float: $fl;
    margin-left: 7px;
}

.uH_head a {
    color: nth($color1, 1);
    float: $fl;
}


/* 个人中心 */

.uH {
    @include wrap(1200px)
}

.uH_left {
    width: 150px;
    float: $fl;
    padding: {
        bottom: 25px;
    }
    ;
    .uH_wrap {
        width: 118px;
        border: 1px solid nth($color2, 1);
        padding: 15px;
        .uH_name {
            width: 110px;
            height: 20px;
            padding-left: 8px;
            padding-bottom: 8px;
            font: 700 12px/20px "宋体";
            color: nth($color1, 5);
        }
        dl {
            width: 118px;
            dt {
                width: 110px;
                height: 30px;
                padding-left: 8px;
                font: 700 12px/30px "宋体";
                color: nth($color1, 5);
            }
            dd {
                width: 118px;
                height: 30px;
                position: $rel;
                z-index: 0;
                a {
                    display: inline-block;
                    color: nth($color1, 2);
                    height: 15px;
                    line-height: 15px;
                    padding: 5px 8px;
                }
            }
        }
    }
}

.uH_right {
    margin-left: 20px;
    float: $fl;
    .uH_wrap {
        width: 820px;
        padding: 10px 0 30px;
        float: $fr;
        .uH_top {
            width: 820px;
            height: 160px;
            .uH_l {
                width: 100px;
                height: 160px;
                float: $fl;
                img {
                    width: 100px;
                }
            }
            .uH_r {
                width: 700px;
                height: 160px;
                float: $fl;
                display: inline;
                margin-left: 20px;
                .r_name {
                    height: 22px;
                    line-height: 22px;
                    margin-bottom: 4px;
                }
                .r_item {
                    height: 14px;
                    line-height: 14px;
                    padding: 5px 0;
                    span {
                        color: nth($color1, 3);
                        a {
                            color: nth($color1, 2);
                            text-decoration: none;
                        }
                    }
                    b {
                        color: nth($color1, 3);
                    }
                }
                .r_ute {
                    height: 30px;
                    line-height: 30px;
                    padding-top: 10px;
                    a {
                        height: 16px;
                        line-height: 16px;
                        display: block;
                        margin-right: 10px;
                        padding: 7px;
                        background: nth($color2, 2);
                        float: $fl;
                    }
                }
            }
        }
        .uH_bot {
            width: 820px;
            .uH_tit {
                height: 30px;
                width: 819px;
                border-left: 1px solid nth($color2, 3);
                border-bottom: 1px solid nth($color2, 3);
                margin-bottom: 5px;
                position: $rel;
                top: 1px;
                z-index: 1;
                a {
                    padding: 0 10px;
                    height: 29px;
                    display: block;
                    font: 400 12px/29px "宋体";
                    position: $rel;
                    top: 0;
                    z-index: 2;
                    border: 1px solid nth($color2, 3);
                    border-left: 0;
                    border-bottom: 0;
                    float: $fl;
                    &:hover {
                        border-top: 2px solid nth($color1, 5);
                        text-decoration: none;
                        color: nth($color1, 4);
                        height: 27px;
                        padding: 0 10px;
                        position: $rel;
                        top: 1px;
                        z-index: 2;
                        line-height: 26px;
                        border-bottom: 1px solid nth($color2, 4);
                    }
                }
            }
            .uH_list1 {
                padding-top: 5px;
                li {
                    float: $fl;
                    width: 110px;
                    height: 175px;
                    display: inline;
                    margin-right: 31px;
                    .img {
                        width: 110px;
                        height: 110px;
                        img {
                            width: 110px;
                            height: 110px;
                        }
                    }
                    .name {
                        line-height: 19px;
                        overflow: hidden;
                        height: 38px;
                        span {
                            color: nth($color1, 3)
                        }
                    }
                    .price {
                        font-size: 13px;
                        color: nth($color1, 3);
                        margin-top: 6px;
                    }
                }
            }
        }
    }
}